<?php echo $javascript->link('add-edit_only.min.js');?>
<div class="almacenes form cont6" style="width: 99%">
<fieldset class="ui-corner-all ui-widget-content">
    <legend class="ui-corner-all ui-widget-header ui-state-active">Adicionando Empresa</legend>
    <div align="left" style="padding:1px 2px 1px 2px;"><?php $session->flash(); ?></div>
    <div class="grid07b">C&oacute;digo</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['codigo'];?>
    </div>
    <div class="clear"></div>

    <div class="grid07b">Raz&oacute;n Social</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['razon_social'];?>
    </div>
    <div class="grid07b">Nom. Comercial</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['nombre_comercial'];?>
    </div>
    <div class="clear"></div>

    <div class="grid07b">R.U.C.</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['ruc'];?>
    </div>
    <div class="clear"></div>

    <div class="grid07b">Referencia IGV</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['igv'];?>
    </div>
    <div class="grid07b">Referencia UIT</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['uit'];?>
    </div>
    <div class="clear"></div>

    <div class="grid07b">UM de Peso</div>
    <div class="grid2">
        <?php echo $empresa['UnidadMedida']['simbolo'];?>
    </div>
    <div class="grid07b">Moneda</div>
    <div class="grid2">
        <?php echo $empresa['Moneda']['simbolo'];?>
    </div>
    <div class="clear"></div>

    <div class="grid07b">M&iacute;nimo S/Perc.</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['importe_min_sin_percepcion'];?>
    </div>
    <div class="clear"></div>

    <div class="grid07b">% de Retenci&oacute;n</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['retencion'];?>
    </div>
    <div class="grid07b">M&iacute;nimo S/Ret.</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['importe_min_retencion'];?>
    </div>
    <div class="clear"></div>
    
    <div class="grid07b">Ret. por Doc.</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['retencion_cat_documento'];?>
    </div>
    <div class="grid07b">Ret. Mensual</div>
    <div class="grid2">
        <?php echo $empresa['Empresa']['retencion_cat_mensual'];?>
    </div>
    <div class="clear"></div>
    
    <fieldset class="ui-corner-all ui-widget-content">
        <legend class="ui-corner-all ui-widget-header ui-state-active">Cantidad de Items en Detalles</legend>

        <div class="grid07b">Facturas</div>
        <div class="grid2">
            <?php echo $empresa['Empresa']['items_factura'];?>
        </div>
        <div class="grid07b">Boletas</div>
        <div class="grid2">
            <?php echo $empresa['Empresa']['items_boleta'];?>
        </div>
        <div class="clear"></div>

        <div class="grid07b">G/R Reparto</div>
        <div class="grid2">
            <?php echo $empresa['Empresa']['items_guia_remision_reparto'];?>
        </div>
        <div class="grid07b">G/R Distrib.</div>
        <div class="grid2">
            <?php echo $empresa['Empresa']['items_guia_remision_distribucion'];?>
        </div>
        <div class="clear"></div>

        <div class="grid07b">C.Percepci&oacute;n</div>
        <div class="grid2">
            <?php echo $empresa['Empresa']['items_comprobante_percepcion'];?>
        </div>
        <div class="clear"></div>
    </fieldset>
</fieldset>
<div class="actions">
    <p>
    <?php echo $html->link('Volver', array('action'=>'index'), array('class'=>'lnkbutton btnback'));?>
    <?php echo $html->link('Nuevo', array('action'=>'add'), array('class'=>'lnkbutton btnadd'));?>
    <?php echo $html->link('Editar', array('action'=>'edit',$empresa['Empresa']['id']), array('class'=>'lnkbutton btnedit'));?>
    <?php echo $html->link('Eliminar', array('action'=>'delete',$empresa['Empresa']['id']), array('class'=>'lnkbutton btnerase'));?>
    </p>
</div>
</div><p/>
